package zx.x.modules.yshbms.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import zx.x.modules.yshapp.entity.YOrderEntity;
import zx.x.modules.yshapp.vo.Order2Vo;
import zx.x.modules.yshbms.dao.Order2Dao;
import zx.x.modules.yshbms.service.OrderService;

import java.util.List;


@Service("orderService2")
public class Order2ServiceImpl extends ServiceImpl<Order2Dao, YOrderEntity> implements OrderService {
    @Autowired
    private Order2Dao orderDao;
    @Override
    public List<Order2Vo> orderList(Order2Vo vo) {

        return orderDao.orderList(vo);
    }

    @Override
    public Order2Vo getInfo(Integer id) {
        return orderDao.getInfo(id);
    }
}